package com.dragon.mmochat.model.enumType;

public enum MmochatMultiPlayerTeamType {
	帮派(0), 战队(1);
	int value;

	MmochatMultiPlayerTeamType(int value) {
		this.value = value;
	}

	public int getValue() {
		return value;
	}

	public static MmochatMultiPlayerTeamType get(int value) {
		for (MmochatMultiPlayerTeamType type : MmochatMultiPlayerTeamType
				.values()) {
			if (type.getValue() == value) {
				return type;
			}
		}
		return null;
	}
}
